home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 October: Mac OS SDK / Dev.CD Oct 97 SDK1.toast / Development Kits (Disc 1) / QuickDraw GX / Programming Stuff / Sample Code / Printing Samples / Extensions… / "kabooms" (global data info) ƒ / kaboom ƒ / kaboom.make < prev    next >
Encoding:
Text File  |  1996-06-14  |  1.2 KB  |  48 lines  |  [TEXT/MPS ]

  1. #    File:        kaboom.make
  2. #   Target:     kaboom
  3. #   Sources:    kaboom.a kaboom.c kaboom.r
  4. #   Created:    Monday, Feb. 1, 1993 4:10:00 PM
  5. #
  6. #    Makefile for a simple printing extension.
  7. #    
  8. #    Dave Hersey
  9. #    Apple Developer Technical Support
  10. #
  11. #    2/01/93 - dmh - Created.
  12. #    9/07/93 - dmh - Updated for b2.
  13. #  12/18/93 - dmh - Updated for b3.
  14. #   8/24/94 - dmh - Finalized.
  15. #   6/14/96 - cn  - Updated to support MPW Pro #19.
  16. #
  17.  
  18. #    Alias to the path for the GX interface files.
  19.  
  20. INTPATH = "{CIncludes}"
  21.  
  22. #    Alias to the compiled files and the assembly/C options we
  23. #    want to use.
  24.  
  25. OBJECTS = kaboom.a.o kaboom.c.o
  26. AsmOptions        = -sym full -i {INTPATH} -case obj
  27. CompileOptions    = -sym full -d applec -mbg full -b2 -i {INTPATH}
  28.  
  29.  
  30. kaboom.a.o ƒ kaboom.make kaboom.a
  31.      Asm {AsmOptions} kaboom.a
  32. kaboom.c.o ƒ kaboom.make kaboom.c
  33.      SC {CompileOptions} -r  kaboom.c
  34.  
  35. kaboom ƒƒ kaboom.make kaboom.r {OBJECTS}
  36.     Link    -ra =resSysHeap,resPurgeable    ∂
  37.             -t 'pext'                        ∂
  38.             -c 'Kabm'                        ∂
  39.             -rt pext=0                        ∂
  40.             -sg SEGS                        ∂
  41.             -m EntryPoint                     ∂
  42.             {OBJECTS}                        ∂
  43.             "{Libraries}Interface.o"        ∂
  44.             "{Libraries}MacRuntime.o"        ∂
  45.             -o kaboom;
  46.     SetFile kaboom -a iB;
  47.     Rez -i {INTPATH} -rd -o kaboom kaboom.r -append 
  48.